sentence = input("")
symbol = input("")
word_list = sentence.split(" ")
ans = symbol.join(word_list)
print(ans)
